package org.jeecg.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.pojo.PurchaseGoods;

/**
 * @description:
 * @company: yaorange
 * @author: Andy.Li
 * @Date: 2022.04.27 17:38:30
 */
public interface PurchaseGoodsMapper extends BaseMapper<PurchaseGoods> {
    @Delete("DELETE FROM tb_purchase_list_goods where purchase_list_id=#{purchaseListId}")
    void deleteByPurchaseId(@Param("purchaseListId") Integer purchaseListId);
}
